libxl: allow setting more than 31 vcpus
authorYang Zhang <yang.z.zhang@Intel.com>
Thu, 28 Jun 2012 16:51:56 +0000 (17:51 +0100)
committerYang Zhang <yang.z.zhang@Intel.com>
Thu, 28 Jun 2012 16:51:56 +0000 (17:51 +0100)
commite1e1e98cacd82fa054ac3c6b381d9833236110e0
tree77708e08b3f5c559b3c74d0323d7d33155e00aaa
parent928c75ce59fc11c707b8bfd0b99ce0c07ab89926
libxl: allow setting more than 31 vcpus

In current implementation, it uses integer to record current avail
cpus and this only allows user to specify 31 vcpus.  In following
patch, it uses cpumap instead integer which make more sense than
before. Also there is no limit to the max vcpus.

Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_create.c
tools/libxl/libxl_dm.c
tools/libxl/libxl_dom.c
tools/libxl/libxl_types.idl
tools/libxl/libxl_utils.c
tools/libxl/libxl_utils.h
tools/libxl/xl_cmdimpl.c